<?php
namespace app\common\validate;

use think\Validate;

class MissCardValidate extends Validate
{
    protected $rule =   [
        'times|日期'        => 'require|date',
        'remarks|补卡理由'  => 'require|length:1,200',
    ];
    
    protected $scene = [
        /** api */
        'add'    => ['times', 'remarks'],
    ];
}